﻿<Page
    x:Class="AppStateDemo.Page1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppStateDemo"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Margin="25" Text="The first page" Style="{StaticResource HeaderTextStyle}" />
        <StackPanel Margin="15" Grid.Row="1">
            <TextBlock Text="在本页输入两个状态值，第一个状态在页面二中获取；第二个状态值在页面三中获取。" Style="{StaticResource GroupHeaderTextStyle}"/>
            <TextBlock Text="输入第一个状态值：" Margin="0,13,0,0" Style="{StaticResource BodyTextStyle}"/>
            <TextBox Name="txt1" Margin="5,10,0,0"/>
            <TextBlock Text="输入第二个状态值：" Margin="0,18,0,0" Style="{StaticResource BodyTextStyle}"/>
            <TextBox Name="txt2" Margin="5,10,0,0"/>
            <Button Margin="12,20,0,0" Width="220" Content="保存状态" Click="onSave"/>
        </StackPanel>
    </Grid>
</Page>